#pragma once

#include "RasterLayer.h"
#include <TGS/GeoMath2.0/Polygon.h>
#include <vector>

class DrawableRasterLayer : public RasterLayer
{
	typedef TGS::GeoMath::Polygon Polygon;
public:
	DrawableRasterLayer(const QString& filePath);
	~DrawableRasterLayer(void);
public:
	std::vector<Polygon>& getDrawedPolygons() { return _drawedPolygons; }
protected:
	virtual void setDrawPolygon(const Polygon& drawedPolygon);
	virtual void render(RenderContext* renderContext);
private:
	std::vector<Polygon>	_drawedPolygons;
};

